home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ghostview / stdc.h < prev    next >
Text File  |  1994-08-01  |  2KB  |  41 lines

  1. /*
  2.  * Copyright (c) 1988 The Regents of the University of California.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution is only permitted until one year after the first shipment
  6.  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
  7.  * binary forms are permitted provided that: (1) source distributions retain
  8.  * this entire copyright notice and comment, and (2) distributions including
  9.  * binaries display the following acknowledgement:  This product includes
  10.  * software developed by the University of California, Berkeley and its
  11.  * contributors'' in the documentation or other materials provided with the
  12.  * distribution and in all advertising materials mentioning features or use
  13.  * of this software.  Neither the name of the University nor the names of
  14.  * its contributors may be used to endorse or promote products derived from
  15.  * this software without specific prior written permission.
  16.  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  17.  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  18.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  19.  *
  20.  *    @(#)stdc.h    7.3 (Berkeley) 6/28/90
  21.  */
  22.  
  23. /*
  24.  * This file is designed to ease the porting from standard C to ANSI C.
  25.  * It will eventually go away.
  26.  * Questions to K. Bostic.
  27.  */
  28.  
  29. #if __STDC__ || c_plusplus
  30. #define    CONCAT(x,y)    x ## y
  31. #define    PROTOTYPE(p)    p
  32. #define    STRING(x)    #x
  33. #else
  34. #define    const
  35. #define    volatile
  36. #define    signed
  37. #define    CONCAT(x,y)    x/**/y
  38. #define    PROTOTYPE(p)    ()
  39. #define    STRING(x)    "x"
  40. #endif
  41.